#include "NewDialog.h"

NewDialog::NewDialog( wxWindow* parent, wxWindowID id, const wxString& title,
		const wxPoint& pos, const wxSize& size, long style )
: Dialog1( parent, id, title, pos, size, style )
{

}
bool NewDialog::TransferDataToWindow() {
	m_textCtrl10->SetValue(m_name);
	m_spinCtrl1->SetValue(m_numX);
	m_spinCtrl2->SetValue(m_numY);
	m_spinCtrl3->SetValue(m_sizeX);
	m_spinCtrl4->SetValue(m_sizeY);
	return true;
}
bool NewDialog::TransferDataFromWindow() {
	m_name = m_textCtrl10->GetValue();
	m_numX = m_spinCtrl1->GetValue();
	m_numY = m_spinCtrl2->GetValue();
	m_sizeX = m_spinCtrl3->GetValue();
	m_sizeY = m_spinCtrl4->GetValue();
	return true;
}
